package com.pengliu.controller;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.pengliu.util.AjaxResult;

@RestController
@RequestMapping("/test")
public class TestController {
	
	@RequestMapping("/index")
	public AjaxResult index(@RequestBody String dataJson) {
		System.out.println(dataJson);
		
		return AjaxResult.getSuccessrResult(true);
	}
}
